for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
const assert = require('assert');
const ganache = require('ganache-cli');
const Web3 = require('web3')
const web3 = new Web3(ganache.provider());
web3
class Car {
park() {
return 'Stopped';
}
drive() {
return 'gogo';
let car;
beforeEach(() => {
console.log(' before each test:');
console.log
car = new Car();
});
describe('Nguyen test Car class', () => {
it('can park', () => {
assert.equal(car.park(), 'Stopped');
} );
it('can drivde', () => {
assert.equal(car.drive(), 'gogo');
} )